//: Playground - noun: a place where people can play

import Cocoa

let arr = [1, 2, 3]

let brr = arr.flatMap { (element: Int) -> [Int] in
    
    return [element * 2]
    
}